package com.hqyj.dao;

import com.hqyj.pojo.AttendanceSheet;
import com.hqyj.pojo.SalaryScale;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rock
 * @since 2021-10-20
 */
@Mapper
public interface SalaryScaleMapper extends BaseMapper<SalaryScale> {
    List<SalaryScale> querySalaryList(@Param("pagefirst") Integer pagefirst, @Param("pageSize") Integer pageSize);

    int querytotal();

    List<SalaryScale> queryByOneId(Integer id);

    int insertSarary(SalaryScale salaryScale);

    int updateOneSarary(SalaryScale salaryScale);

    int totalmoney(SalaryScale salaryScale);

    List<Integer> selectawardMoney(SalaryScale salaryScale);
}
